import { createRouter, createWebHistory } from "vue-router";

const pay = () => import("../view/pay/index.vue");

const routes = [
  { path: "/", redirect: "/pay" },
  {
    path: "/pay",
    name: "pay",
    component: pay,
  },
];

export const router = createRouter({
  history: createWebHistory(),
  routes: routes,
});
